Package org.dogtagpki.job
Interface JobResource
- All Known Implementing Classes:
JobService
@Path("jobs")
public interface JobResource
- Author:
- Endi S. Dewata
-
Method Summary
-
Method Details
-
findJobs
Returns all jobs. If the method is executed by an admin, it will return all jobs. Otherwise, it will return all jobs owned by the user.- Throws:
EBaseException
-
getJob
@GET @Path("{id}") javax.ws.rs.core.Response getJob(@PathParam("id") String id) throws EBaseException Returns a specific job. This method can only be executed by an admin or the job owner.- Throws:
EBaseException
-
startJob
@POST @Path("{id}/start") javax.ws.rs.core.Response startJob(@PathParam("id") String id) throws EBaseException Starts a specific job. This method can only be executed by an admin or the job owner.- Throws:
EBaseException
-